const path = require('path');
const CracoLessPlugin = require('craco-less-craco7');

module.exports = {
    plugins: [
        {
            plugin: CracoLessPlugin,
            options: {
                lessLoaderOptions: {
                    lessOptions: {
                        modifyVars: {
                            '@header-height': '64px'
                        },
                        javascriptEnabled: true
                    }
                }
            }
        }
    ],
    webpack: {
        alias: {
            '@': path.resolve(__dirname, 'src')
        }
    }
};
